package com.xcf.service.business.common.boatbasedata.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.service.business.common.boatbasedata.BoatBaseDataManageService;
import com.xcf.util.PageData;
@Service("BoatBaseDataManageServiceImpl")
public class BoatBaseDataManageServiceImpl implements BoatBaseDataManageService{
	@Resource(name = "daoSupport")
	private DaoSupport dao;
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> findBoatBaseDataManageInfo(PageData pd) throws Exception {
		
		return (List<PageData>)dao.findForList("BoatBaseDataManage.findBoatBaseDataManage", pd);
	}
	@Override
	public void saveBoatDataManageInfo(PageData pd) throws Exception {
		dao.save("BoatBaseDataManage.saveBoatBaseDataManage", pd);
		
	}
	@Override
	public void updateBoatDataManageInfo(PageData pd) throws Exception {
		dao.update("BoatBaseDataManage.updateBoatBaseDataManage", pd);
		
	}
	@Override
	public void deleteBoatDataManageInfo(PageData pd) throws Exception {
		dao.delete("BoatBaseDataManage.deleteBoatBaseDataManage", pd);
		
	}
	@Override
	public PageData findBoatBaseDataManageById(PageData pd) throws Exception {
		
		return (PageData)dao.findForObject("BoatBaseDataManage.findBoatBaseDataManageById", pd);
	}

}
